<?php
namespace Admin\Controller;

class SettingController extends CommonController
{

    public function __construct()
    {
        parent::__construct();
    }

    /**
     * 查看系统变量
     * @return [type]
     */
    public function index()
    {
        $setting = setting([
            'red_send_min_money',
            'red_service_charge',
            'red_out_time',
            'red_voice_match_percent',
        ]);
        $this->assign('setting', $setting);

        $this->assign('bread_crumb', $bread_crumb = generate_bread_crumb([
            '系统设置',
            '系统信息',
        ]));
        $this->display();
    }
}
